package cn.wolfcode.p2p.business.mapper;

import cn.wolfcode.p2p.business.domain.PaymentScheduleDetail;
import org.apache.ibatis.annotations.Param;

public interface PaymentScheduleDetailMapper {

    int insert(PaymentScheduleDetail record);

    void upadtePayDate(PaymentScheduleDetail paymentScheduleDetail);

    void updateTransferStateByBidIdAndUserId(@Param("bidId") Long bidId, @Param("userId") Long userId, @Param("transferState") boolean transferState);

    void updateTransferStateAndTranToByBidIdAndUserId(@Param("bidId") Long bidId, @Param("transFromId") Long transFromId, @Param("transToId") Long transToId, @Param("transferState") boolean transferState);
}